package com.chixing.mapper;

import com.chixing.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liwenjing
 * @since 2025-10-07
 */
public interface MemberMapper extends BaseMapper<Member> {
    public Member getMemberByUserId(@Param("userId") Integer userId);

    public int updateMemberPoints(@Param("userId") Integer userId,
                                  @Param("points") Integer points);
}
